<%--
  Created by IntelliJ IDEA.
  User: apple
  Date: 2020/6/19
  Time: 15:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="header.jsp"%>
<!--/sidebar-->
<div class="main-wrap">

    <div class="crumb-wrap">
        <!--    这里先设置死作者的用户名，回头记得改！       -->
        <div class="crumb-list"><i class="icon-font"></i><a href="index.jsp">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="/webtest/Homework/manage/articles?action=userpage&currPage=1&writter=${username}">作品管理</a><span class="crumb-step">&gt;</span><span>添加作品</span></div>
    </div>
    <div class="result-wrap">
        <div class="result-content">
            <form action="http://localhost:8080/webtest/Add" method="post" id="myform" name="myform">
                <table class="insert-tab" width="100%">
                    <tbody>
<%--                    <tr>--%>
<%--                        <th width="120"><i class="require-red">*</i>分类：</th>--%>
<%--                        <td>--%>
<%--                            <select name="colId" id="catid" class="required">--%>
<%--                                <option value="">请选择</option>--%>
<%--                                <option value="19">精品界面</option><option value="20">推荐界面</option>--%>
<%--                            </select>--%>
<%--                        </td>--%>
<%--                    </tr>--%>
                    <tr>
                        <th><i class="require-red">*</i>标题：</th>
                        <td>
                            <input class="common-text required" name="title" size="50" value="" type="text">
                        </td>
                    </tr>
                    <tr>
                        <th>作者：</th>
                        <td><input class="common-text" size="50" value="${username}" type="text" disabled="true"></td>
                        <td><input type="hidden" name="writter" value="${username}"></td>
                    </tr>
<%--                    <tr>--%>
<%--                        <th><i class="require-red">*</i>缩略图：</th>--%>
<%--                        <td><input name="smallimg" id="" type="file"><!--<input type="submit" onclick="submitForm('/jscss/admin/design/upload')" value="上传图片"/>--></td>--%>
<%--                    </tr>--%>
                    <tr>
                        <th>内容：</th>
                        <td><textarea name="content" class="common-textarea" cols="30" style="width: 98%;" rows="10"></textarea></td>
                    </tr>
                    <tr>
                        <th></th>
                        <td>
                            <input class="btn6" value="提交添加" type="submit" >
                            <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                        </td>
                    </tr>
                    </tbody></table>
            </form>
        </div>
    </div>

</div>
<!--/main-->
</div>
</body>
</html>
